package cc.pattern.decorate;

import java.math.BigDecimal;

public class HandCake extends Beverage {
    public HandCake(String name,int size) {
    	this.setDesc(name);
    	this.setSize(size);
    }

    @Override
    public BigDecimal price() {
        return BigDecimal.ONE.multiply(new BigDecimal(this.getSize()));
    }
}
